Only for Newer Browsers

These recipes feature aspects of JavaScript supported only by Netscape's and Microsoft's latest browsers. They can make your web pages work much faster and more smoothly. (Try only with version 4.0 and above of either company's product!)

Getting the Picture I
Graphics take a long time to move over the Internet. Why not try caching them?

Try it...
View source


Getting the Picture II
Cached images can be used for smoother animation!
Try it...
View source


The Mobile Mouse I
When a user mouses over one of your links, make something happen! (Also works for Internet Explorer!)
Try it...
View source


The Mobile Mouse II
onMouseover is nice, but what about when the mouse leaves the link?
Try it...
View source


Don't Touch Me!
More fun with onMouseover and image arrays.
Try it...
View source


Dynamic Memory Crystals Game
This uses a big window! Dynamic HTML allows layering. Here's how to use the feature to do the memory game.
Try it...


Reversing an Array
You don't need to write code to do it. JavaScript already knows how.
Try it...
View source


Sorting an Array
Let JavaScript sort it for you.
Try it...
View source


Joining an Array into a String
There's code to do this already on the CD, but JavaScript in Netscape can do it natively.
Try it...
View source